Xbasic

FILE.READ_TIME Function

Syntax

Last_Read as T = FILE.read_time(C filename )

Arguments

filenameCharacter

The name of the file.

Returns

Last_ReadTime

Returns the date/time that the file was last read.

Description

Returns the date/time at which a file was last read

Discussion

The FILE.READ_TIME() method returns the date/time that filename was last read. Use the TIME() function to parse out date and time elements from Last_Read.

Example

? FILE.read_time("C:\plist.txt")
= 12/02/2004 11:00:40 84 am
? FILE.update_time("C:\plist.txt")
= 11/30/2004 04:47:07 54 pm

See Also